/*
 Navicat Premium Data Transfer

 Source Server         : localhost
 Source Server Type    : MySQL
 Source Server Version : 80400
 Source Host           : localhost:13306
 Source Schema         : nacos

 Target Server Type    : MySQL
 Target Server Version : 80400
 File Encoding         : 65001

 Date: 22/07/2024 09:45:13
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for config_info
-- ----------------------------
DROP TABLE IF EXISTS `config_info`;
CREATE TABLE `config_info` (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT 'id',
  `data_id` varchar(255) COLLATE utf8mb3_bin NOT NULL COMMENT 'data_id',
  `group_id` varchar(128) COLLATE utf8mb3_bin DEFAULT NULL COMMENT 'group_id',
  `content` longtext COLLATE utf8mb3_bin NOT NULL COMMENT 'content',
  `md5` varchar(32) COLLATE utf8mb3_bin DEFAULT NULL COMMENT 'md5',
  `gmt_create` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `gmt_modified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '修改时间',
  `src_user` text COLLATE utf8mb3_bin COMMENT 'source user',
  `src_ip` varchar(50) COLLATE utf8mb3_bin DEFAULT NULL COMMENT 'source ip',
  `app_name` varchar(128) COLLATE utf8mb3_bin DEFAULT NULL COMMENT 'app_name',
  `tenant_id` varchar(128) COLLATE utf8mb3_bin DEFAULT '' COMMENT '租户字段',
  `c_desc` varchar(256) COLLATE utf8mb3_bin DEFAULT NULL COMMENT 'configuration description',
  `c_use` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL COMMENT 'configuration usage',
  `effect` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL COMMENT '配置生效的描述',
  `type` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL COMMENT '配置的类型',
  `c_schema` text COLLATE utf8mb3_bin COMMENT '配置的模式',
  `encrypted_data_key` varchar(1024) COLLATE utf8mb3_bin NOT NULL DEFAULT '' COMMENT '密钥',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_configinfo_datagrouptenant` (`data_id`,`group_id`,`tenant_id`)
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin COMMENT='config_info';

-- ----------------------------
-- Records of config_info
-- ----------------------------
BEGIN;
INSERT INTO `config_info` (`id`, `data_id`, `group_id`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `app_name`, `tenant_id`, `c_desc`, `c_use`, `effect`, `type`, `c_schema`, `encrypted_data_key`) VALUES (1, 'portal-api', 'dev', 'name: \"portal-api\"\nhost: \"192.168.31.156\"\n# develop port\nport: 8080\ntoken_name: \"hw-token\"\ntags:\n    - api\n    - portal\njwt:\n  key: \"protocolFeeDestination\"\nportal_rpc:\n  name: \"portal-rpc\"\n  tag: \"rpc\"\nrabbitmq:\n  username: \"root\"\n  password: \"123456\"\n  host: \"192.168.31.156\"\n  port: 5672\ntxqueue:\n  # 可能queue需要使用province code来区别\n  queue: \"txHash\"\n  exchange: \"portal_contract\"\n  bindingKey: \"portal.create\"\nconsul:\n    host: \"192.168.31.156\"\n    port: 8500\njaeger:\n    host: \"192.168.31.156\"\n    port: 6831\n    name: \"highway\"', 'b31803751abf2bad8b0d944d63d20b2a', '2024-06-15 19:57:11', '2024-06-16 15:33:31', NULL, '192.168.65.1', 'highway', 'ad7c58ee-667a-4e3f-b010-6339ef14526e', '', '', '', 'yaml', '', '');
INSERT INTO `config_info` (`id`, `data_id`, `group_id`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `app_name`, `tenant_id`, `c_desc`, `c_use`, `effect`, `type`, `c_schema`, `encrypted_data_key`) VALUES (3, 'user-api', 'dev', 'name: \"user-api\"\nhost: \"192.168.31.156\"\n# develop port\nport: 8082\ntoken_name: \"hw-token\"\ntags:\n    - api\n    - user\njwt:\n  key: \"protocolFeeDestination\"\nuser_rpc:\n  name: \"user-rpc\"\n  tag: \"rpc\"\nrabbitmq:\n  username: \"root\"\n  password: \"123456\"\n  host: \"192.168.31.156\"\n  port: 5672\nconsul:\n    host: \"192.168.31.156\"\n    port: 8500\njaeger:\n    host: \"192.168.31.156\"\n    port: 6831\n    name: \"highway\"\n', 'b2cdf47cf6fa5fef989f8efa4c6ce463', '2024-06-15 20:13:31', '2024-06-16 15:33:12', NULL, '192.168.65.1', 'highway', '9cb1d5ec-d5ec-405d-b365-07e5bf6db7d7', '', '', '', 'yaml', '', '');
INSERT INTO `config_info` (`id`, `data_id`, `group_id`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `app_name`, `tenant_id`, `c_desc`, `c_use`, `effect`, `type`, `c_schema`, `encrypted_data_key`) VALUES (5, 'trade-api', 'dev', 'name: \"trade-api\"\nhost: \"192.168.31.156\"\n# develop port\nport: 8081\ntoken_name: \"hw-token\"\ntags:\n    - api\n    - trade\njwt:\n  key: \"protocolFeeDestination\"\nportal_rpc:\n  name: \"portal-rpc\"\n  tag: \"rpc\"\ntrade_rpc:\n  name: \"trade-rpc\"\n  tag: \"rpc\"\nrabbitmq:\n  username: \"root\"\n  password: \"123456\"\n  host: \"192.168.31.156\"\n  port: 5672\ntxqueue:\n  # 可能queue需要使用province code来区别\n  queue: \"txHash\"\n  exchange: \"trade_contract\"\n  bindingKey: \"trade.create\"\nconsul:\n    host: \"192.168.31.156\"\n    port: 8500\njaeger:\n    host: \"192.168.31.156\"\n    port: 6831\n    name: \"highway\"\n', '48fc9e2cfa049a5b7b826bcef5af2bef', '2024-06-15 20:17:44', '2024-06-16 15:33:52', NULL, '192.168.65.1', 'highway', '97ee8c1d-ca70-4469-a375-6a401bbcdc3b', '', '', '', 'yaml', '', '');
INSERT INTO `config_info` (`id`, `data_id`, `group_id`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `app_name`, `tenant_id`, `c_desc`, `c_use`, `effect`, `type`, `c_schema`, `encrypted_data_key`) VALUES (7, 'portal-rpc', 'dev', 'name: \"portal-rpc\"\nhost: \"192.168.31.156\"\n# develop port\nport: 8090\ntags:\n    - rpc\n    - portal\nchain:\n  deployer: \"0x28fff731ae4c00fc41d1c0bf1d33c01ccb362336\"\n  portal_prover: \"0x5daef89450ef139072d9abcbeedb1cdff227ea14\"\n  trade_prover: \"0x0834a5d5941805eeb6e210988b116f6ed60d9f61\"\n  trade_auditor: \"0x347b7b2a38a4b5e452d6292e3ce4aa5e5cd0f154\"\n  portal_manager: \"0x07daB4b879a9Acc906e3E8A98C475b753ef7ca62\"\n  trust_manager: \"0x728EFB1D438b8d1806126933d8C735649D17561c\"\n  trade_manager: \"0x01ef3002734513FD722C2eD40da50b56ff94888f\"\nmysql:\n    host: 192.168.31.156\n    port: 13306\n    username: root\n    password: \"123456\"\n    database: \"hw_portal\"\nelastic:\n    host: 192.168.31.156\n    port: 5601\nconsul:\n    host: 192.168.31.156\n    port: 8500\njaeger:\n    host: 192.168.31.156\n    port: 6831\n    name: \"highway\"\n', 'cee8991c242bab8ec88ce5b3913018f4', '2024-06-16 15:08:56', '2024-06-16 15:26:16', NULL, '192.168.65.1', 'highway', 'ad7c58ee-667a-4e3f-b010-6339ef14526e', '', '', '', 'yaml', '', '');
INSERT INTO `config_info` (`id`, `data_id`, `group_id`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `app_name`, `tenant_id`, `c_desc`, `c_use`, `effect`, `type`, `c_schema`, `encrypted_data_key`) VALUES (8, 'user-rpc', 'dev', 'name: \"user-rpc\"\nhost: \"192.168.31.156\"\n# develop port\nport: 8092\ntags:\n    - rpc\n    - user\nmysql:\n    host: 192.168.31.156\n    port: 13306\n    username: root\n    password: \"123456\"\n    database: \"hw_user\"\nelastic:\n    host: 192.168.31.156\n    port: 5601\nconsul:\n    host: 192.168.31.156\n    port: 8500\njaeger:\n    host: 192.168.31.156\n    port: 6831\n    name: \"highway\"\n', 'e06e5d4328bd6a77895b1f9913df5124', '2024-06-16 15:09:16', '2024-06-16 15:26:05', NULL, '192.168.65.1', 'highway', '9cb1d5ec-d5ec-405d-b365-07e5bf6db7d7', '', '', '', 'yaml', '', '');
INSERT INTO `config_info` (`id`, `data_id`, `group_id`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `app_name`, `tenant_id`, `c_desc`, `c_use`, `effect`, `type`, `c_schema`, `encrypted_data_key`) VALUES (9, 'trade-rpc', 'dev', 'name: \"trade-rpc\"\nhost: \"192.168.31.156\"\n# develop port\nport: 8091\ntags:\n    - rpc\n    - trade\nchain:\n  deployer: \"0x28fff731ae4c00fc41d1c0bf1d33c01ccb362336\"\n  portal_prover: \"0x5daef89450ef139072d9abcbeedb1cdff227ea14\"\n  trade_prover: \"0x0834a5d5941805eeb6e210988b116f6ed60d9f61\"\n  trade_auditor: \"0x347b7b2a38a4b5e452d6292e3ce4aa5e5cd0f154\"\n  portal_manager: \"0x07daB4b879a9Acc906e3E8A98C475b753ef7ca62\"\n  trust_manager: \"0x728EFB1D438b8d1806126933d8C735649D17561c\"\n  trade_manager: \"0x01ef3002734513FD722C2eD40da50b56ff94888f\"\nmysql:\n    host: 192.168.31.156\n    port: 13306\n    username: root\n    password: \"123456\"\n    database: \"hw_trade\"\nelastic:\n    host: 192.168.31.156\n    port: 5601\nconsul:\n    host: 192.168.31.156\n    port: 8500\njaeger:\n    host: 192.168.31.156\n    port: 6831\n    name: \"highway\"\n', '998810d338c7548a5a9c1c8a5cc1455d', '2024-06-16 15:09:38', '2024-06-16 15:25:46', NULL, '192.168.65.1', 'highway', '97ee8c1d-ca70-4469-a375-6a401bbcdc3b', '', '', '', 'yaml', '', '');
COMMIT;

-- ----------------------------
-- Table structure for config_info_aggr
-- ----------------------------
DROP TABLE IF EXISTS `config_info_aggr`;
CREATE TABLE `config_info_aggr` (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT 'id',
  `data_id` varchar(255) COLLATE utf8mb3_bin NOT NULL COMMENT 'data_id',
  `group_id` varchar(128) COLLATE utf8mb3_bin NOT NULL COMMENT 'group_id',
  `datum_id` varchar(255) COLLATE utf8mb3_bin NOT NULL COMMENT 'datum_id',
  `content` longtext COLLATE utf8mb3_bin NOT NULL COMMENT '内容',
  `gmt_modified` datetime NOT NULL COMMENT '修改时间',
  `app_name` varchar(128) COLLATE utf8mb3_bin DEFAULT NULL COMMENT 'app_name',
  `tenant_id` varchar(128) COLLATE utf8mb3_bin DEFAULT '' COMMENT '租户字段',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_configinfoaggr_datagrouptenantdatum` (`data_id`,`group_id`,`tenant_id`,`datum_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin COMMENT='增加租户字段';

-- ----------------------------
-- Records of config_info_aggr
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for config_info_beta
-- ----------------------------
DROP TABLE IF EXISTS `config_info_beta`;
CREATE TABLE `config_info_beta` (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT 'id',
  `data_id` varchar(255) COLLATE utf8mb3_bin NOT NULL COMMENT 'data_id',
  `group_id` varchar(128) COLLATE utf8mb3_bin NOT NULL COMMENT 'group_id',
  `app_name` varchar(128) COLLATE utf8mb3_bin DEFAULT NULL COMMENT 'app_name',
  `content` longtext COLLATE utf8mb3_bin NOT NULL COMMENT 'content',
  `beta_ips` varchar(1024) COLLATE utf8mb3_bin DEFAULT NULL COMMENT 'betaIps',
  `md5` varchar(32) COLLATE utf8mb3_bin DEFAULT NULL COMMENT 'md5',
  `gmt_create` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `gmt_modified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '修改时间',
  `src_user` text COLLATE utf8mb3_bin COMMENT 'source user',
  `src_ip` varchar(50) COLLATE utf8mb3_bin DEFAULT NULL COMMENT 'source ip',
  `tenant_id` varchar(128) COLLATE utf8mb3_bin DEFAULT '' COMMENT '租户字段',
  `encrypted_data_key` varchar(1024) COLLATE utf8mb3_bin NOT NULL DEFAULT '' COMMENT '密钥',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_configinfobeta_datagrouptenant` (`data_id`,`group_id`,`tenant_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin COMMENT='config_info_beta';

-- ----------------------------
-- Records of config_info_beta
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for config_info_tag
-- ----------------------------
DROP TABLE IF EXISTS `config_info_tag`;
CREATE TABLE `config_info_tag` (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT 'id',
  `data_id` varchar(255) COLLATE utf8mb3_bin NOT NULL COMMENT 'data_id',
  `group_id` varchar(128) COLLATE utf8mb3_bin NOT NULL COMMENT 'group_id',
  `tenant_id` varchar(128) COLLATE utf8mb3_bin DEFAULT '' COMMENT 'tenant_id',
  `tag_id` varchar(128) COLLATE utf8mb3_bin NOT NULL COMMENT 'tag_id',
  `app_name` varchar(128) COLLATE utf8mb3_bin DEFAULT NULL COMMENT 'app_name',
  `content` longtext COLLATE utf8mb3_bin NOT NULL COMMENT 'content',
  `md5` varchar(32) COLLATE utf8mb3_bin DEFAULT NULL COMMENT 'md5',
  `gmt_create` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `gmt_modified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '修改时间',
  `src_user` text COLLATE utf8mb3_bin COMMENT 'source user',
  `src_ip` varchar(50) COLLATE utf8mb3_bin DEFAULT NULL COMMENT 'source ip',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_configinfotag_datagrouptenanttag` (`data_id`,`group_id`,`tenant_id`,`tag_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin COMMENT='config_info_tag';

-- ----------------------------
-- Records of config_info_tag
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for config_tags_relation
-- ----------------------------
DROP TABLE IF EXISTS `config_tags_relation`;
CREATE TABLE `config_tags_relation` (
  `id` bigint NOT NULL COMMENT 'id',
  `tag_name` varchar(128) COLLATE utf8mb3_bin NOT NULL COMMENT 'tag_name',
  `tag_type` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL COMMENT 'tag_type',
  `data_id` varchar(255) COLLATE utf8mb3_bin NOT NULL COMMENT 'data_id',
  `group_id` varchar(128) COLLATE utf8mb3_bin NOT NULL COMMENT 'group_id',
  `tenant_id` varchar(128) COLLATE utf8mb3_bin DEFAULT '' COMMENT 'tenant_id',
  `nid` bigint NOT NULL AUTO_INCREMENT COMMENT 'nid, 自增长标识',
  PRIMARY KEY (`nid`),
  UNIQUE KEY `uk_configtagrelation_configidtag` (`id`,`tag_name`,`tag_type`),
  KEY `idx_tenant_id` (`tenant_id`)
) ENGINE=InnoDB AUTO_INCREMENT=71 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin COMMENT='config_tag_relation';

-- ----------------------------
-- Records of config_tags_relation
-- ----------------------------
BEGIN;
INSERT INTO `config_tags_relation` (`id`, `tag_name`, `tag_type`, `data_id`, `group_id`, `tenant_id`, `nid`) VALUES (9, 'rpc', '', 'trade-rpc', 'dev', '97ee8c1d-ca70-4469-a375-6a401bbcdc3b', 59);
INSERT INTO `config_tags_relation` (`id`, `tag_name`, `tag_type`, `data_id`, `group_id`, `tenant_id`, `nid`) VALUES (9, 'trade', '', 'trade-rpc', 'dev', '97ee8c1d-ca70-4469-a375-6a401bbcdc3b', 60);
INSERT INTO `config_tags_relation` (`id`, `tag_name`, `tag_type`, `data_id`, `group_id`, `tenant_id`, `nid`) VALUES (8, 'rpc', '', 'user-rpc', 'dev', '9cb1d5ec-d5ec-405d-b365-07e5bf6db7d7', 61);
INSERT INTO `config_tags_relation` (`id`, `tag_name`, `tag_type`, `data_id`, `group_id`, `tenant_id`, `nid`) VALUES (8, 'user', '', 'user-rpc', 'dev', '9cb1d5ec-d5ec-405d-b365-07e5bf6db7d7', 62);
INSERT INTO `config_tags_relation` (`id`, `tag_name`, `tag_type`, `data_id`, `group_id`, `tenant_id`, `nid`) VALUES (7, 'rpc', '', 'portal-rpc', 'dev', 'ad7c58ee-667a-4e3f-b010-6339ef14526e', 63);
INSERT INTO `config_tags_relation` (`id`, `tag_name`, `tag_type`, `data_id`, `group_id`, `tenant_id`, `nid`) VALUES (7, 'portal', '', 'portal-rpc', 'dev', 'ad7c58ee-667a-4e3f-b010-6339ef14526e', 64);
INSERT INTO `config_tags_relation` (`id`, `tag_name`, `tag_type`, `data_id`, `group_id`, `tenant_id`, `nid`) VALUES (3, 'api', '', 'user-api', 'dev', '9cb1d5ec-d5ec-405d-b365-07e5bf6db7d7', 65);
INSERT INTO `config_tags_relation` (`id`, `tag_name`, `tag_type`, `data_id`, `group_id`, `tenant_id`, `nid`) VALUES (3, 'user', '', 'user-api', 'dev', '9cb1d5ec-d5ec-405d-b365-07e5bf6db7d7', 66);
INSERT INTO `config_tags_relation` (`id`, `tag_name`, `tag_type`, `data_id`, `group_id`, `tenant_id`, `nid`) VALUES (1, 'api', '', 'portal-api', 'dev', 'ad7c58ee-667a-4e3f-b010-6339ef14526e', 67);
INSERT INTO `config_tags_relation` (`id`, `tag_name`, `tag_type`, `data_id`, `group_id`, `tenant_id`, `nid`) VALUES (1, 'portal', '', 'portal-api', 'dev', 'ad7c58ee-667a-4e3f-b010-6339ef14526e', 68);
INSERT INTO `config_tags_relation` (`id`, `tag_name`, `tag_type`, `data_id`, `group_id`, `tenant_id`, `nid`) VALUES (5, 'trade', '', 'trade-api', 'dev', '97ee8c1d-ca70-4469-a375-6a401bbcdc3b', 69);
INSERT INTO `config_tags_relation` (`id`, `tag_name`, `tag_type`, `data_id`, `group_id`, `tenant_id`, `nid`) VALUES (5, 'api', '', 'trade-api', 'dev', '97ee8c1d-ca70-4469-a375-6a401bbcdc3b', 70);
COMMIT;

-- ----------------------------
-- Table structure for group_capacity
-- ----------------------------
DROP TABLE IF EXISTS `group_capacity`;
CREATE TABLE `group_capacity` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT COMMENT '主键ID',
  `group_id` varchar(128) COLLATE utf8mb3_bin NOT NULL DEFAULT '' COMMENT 'Group ID，空字符表示整个集群',
  `quota` int unsigned NOT NULL DEFAULT '0' COMMENT '配额，0表示使用默认值',
  `usage` int unsigned NOT NULL DEFAULT '0' COMMENT '使用量',
  `max_size` int unsigned NOT NULL DEFAULT '0' COMMENT '单个配置大小上限，单位为字节，0表示使用默认值',
  `max_aggr_count` int unsigned NOT NULL DEFAULT '0' COMMENT '聚合子配置最大个数，，0表示使用默认值',
  `max_aggr_size` int unsigned NOT NULL DEFAULT '0' COMMENT '单个聚合数据的子配置大小上限，单位为字节，0表示使用默认值',
  `max_history_count` int unsigned NOT NULL DEFAULT '0' COMMENT '最大变更历史数量',
  `gmt_create` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `gmt_modified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '修改时间',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_group_id` (`group_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin COMMENT='集群、各Group容量信息表';

-- ----------------------------
-- Records of group_capacity
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for his_config_info
-- ----------------------------
DROP TABLE IF EXISTS `his_config_info`;
CREATE TABLE `his_config_info` (
  `id` bigint unsigned NOT NULL COMMENT 'id',
  `nid` bigint unsigned NOT NULL AUTO_INCREMENT COMMENT 'nid, 自增标识',
  `data_id` varchar(255) COLLATE utf8mb3_bin NOT NULL COMMENT 'data_id',
  `group_id` varchar(128) COLLATE utf8mb3_bin NOT NULL COMMENT 'group_id',
  `app_name` varchar(128) COLLATE utf8mb3_bin DEFAULT NULL COMMENT 'app_name',
  `content` longtext COLLATE utf8mb3_bin NOT NULL COMMENT 'content',
  `md5` varchar(32) COLLATE utf8mb3_bin DEFAULT NULL COMMENT 'md5',
  `gmt_create` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `gmt_modified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '修改时间',
  `src_user` text COLLATE utf8mb3_bin COMMENT 'source user',
  `src_ip` varchar(50) COLLATE utf8mb3_bin DEFAULT NULL COMMENT 'source ip',
  `op_type` char(10) COLLATE utf8mb3_bin DEFAULT NULL COMMENT 'operation type',
  `tenant_id` varchar(128) COLLATE utf8mb3_bin DEFAULT '' COMMENT '租户字段',
  `encrypted_data_key` varchar(1024) COLLATE utf8mb3_bin NOT NULL DEFAULT '' COMMENT '密钥',
  PRIMARY KEY (`nid`),
  KEY `idx_gmt_create` (`gmt_create`),
  KEY `idx_gmt_modified` (`gmt_modified`),
  KEY `idx_did` (`data_id`)
) ENGINE=InnoDB AUTO_INCREMENT=43 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin COMMENT='多租户改造';

-- ----------------------------
-- Records of his_config_info
-- ----------------------------
BEGIN;
INSERT INTO `his_config_info` (`id`, `nid`, `data_id`, `group_id`, `app_name`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `op_type`, `tenant_id`, `encrypted_data_key`) VALUES (0, 1, 'portal-api', 'dev', 'highway', 'name: \"portal-api\"\nhost: \"127.0.0.1\"\n# develop port\nport: 8080\ntoken_name: \"hw-token\"\ntags:\n    - srv\n    - portal\njwt:\n  key: \"protocolFeeDestination\"\nportal_srv:\n  name: \"portal-srv\"\n  tag: \"srv\"\nrabbitmq:\n  username: \"root\"\n  password: \"123456\"\n  host: \"127.0.0.1\"\n  port: 5672\ntxqueue:\n  # 可能queue需要使用province code来区别\n  queue: \"txHash\"\n  exchange: \"portal_contract\"\n  bindingKey: \"portal.create\"\nconsul:\n    host: \"127.0.0.1\"\n    port: 8500\njaeger:\n    host: \"127.0.0.1\"\n    port: 6831\n    name: \"highway\"\n', 'a69b9212bcd649d48b53f178a101922a', '2024-06-15 19:57:11', '2024-06-15 19:57:11', NULL, '192.168.65.1', 'I', 'ad7c58ee-667a-4e3f-b010-6339ef14526e', '');
INSERT INTO `his_config_info` (`id`, `nid`, `data_id`, `group_id`, `app_name`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `op_type`, `tenant_id`, `encrypted_data_key`) VALUES (0, 2, 'portal-srv', 'dev', 'highway', 'name: \"portal-api\"\nhost: \"127.0.0.1\"\n# develop port\nport: 8080\ntoken_name: \"hw-token\"\ntags:\n    - srv\n    - portal\njwt:\n  key: \"protocolFeeDestination\"\nportal_srv:\n  name: \"portal-srv\"\n  tag: \"srv\"\nrabbitmq:\n  username: \"root\"\n  password: \"123456\"\n  host: \"127.0.0.1\"\n  port: 5672\ntxqueue:\n  # 可能queue需要使用province code来区别\n  queue: \"txHash\"\n  exchange: \"portal_contract\"\n  bindingKey: \"portal.create\"\nconsul:\n    host: \"127.0.0.1\"\n    port: 8500\njaeger:\n    host: \"127.0.0.1\"\n    port: 6831\n    name: \"highway\"\n', 'a69b9212bcd649d48b53f178a101922a', '2024-06-15 19:57:48', '2024-06-15 19:57:48', NULL, '192.168.65.1', 'I', 'ad7c58ee-667a-4e3f-b010-6339ef14526e', '');
INSERT INTO `his_config_info` (`id`, `nid`, `data_id`, `group_id`, `app_name`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `op_type`, `tenant_id`, `encrypted_data_key`) VALUES (1, 3, 'portal-api', 'dev', 'highway', 'name: \"portal-api\"\nhost: \"127.0.0.1\"\n# develop port\nport: 8080\ntoken_name: \"hw-token\"\ntags:\n    - srv\n    - portal\njwt:\n  key: \"protocolFeeDestination\"\nportal_srv:\n  name: \"portal-srv\"\n  tag: \"srv\"\nrabbitmq:\n  username: \"root\"\n  password: \"123456\"\n  host: \"127.0.0.1\"\n  port: 5672\ntxqueue:\n  # 可能queue需要使用province code来区别\n  queue: \"txHash\"\n  exchange: \"portal_contract\"\n  bindingKey: \"portal.create\"\nconsul:\n    host: \"127.0.0.1\"\n    port: 8500\njaeger:\n    host: \"127.0.0.1\"\n    port: 6831\n    name: \"highway\"\n', 'a69b9212bcd649d48b53f178a101922a', '2024-06-15 20:10:34', '2024-06-15 20:10:35', NULL, '192.168.65.1', 'U', 'ad7c58ee-667a-4e3f-b010-6339ef14526e', '');
INSERT INTO `his_config_info` (`id`, `nid`, `data_id`, `group_id`, `app_name`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `op_type`, `tenant_id`, `encrypted_data_key`) VALUES (2, 4, 'portal-srv', 'dev', 'highway', 'name: \"portal-api\"\nhost: \"127.0.0.1\"\n# develop port\nport: 8080\ntoken_name: \"hw-token\"\ntags:\n    - srv\n    - portal\njwt:\n  key: \"protocolFeeDestination\"\nportal_srv:\n  name: \"portal-srv\"\n  tag: \"srv\"\nrabbitmq:\n  username: \"root\"\n  password: \"123456\"\n  host: \"127.0.0.1\"\n  port: 5672\ntxqueue:\n  # 可能queue需要使用province code来区别\n  queue: \"txHash\"\n  exchange: \"portal_contract\"\n  bindingKey: \"portal.create\"\nconsul:\n    host: \"127.0.0.1\"\n    port: 8500\njaeger:\n    host: \"127.0.0.1\"\n    port: 6831\n    name: \"highway\"\n', 'a69b9212bcd649d48b53f178a101922a', '2024-06-15 20:11:50', '2024-06-15 20:11:50', NULL, '192.168.65.1', 'U', 'ad7c58ee-667a-4e3f-b010-6339ef14526e', '');
INSERT INTO `his_config_info` (`id`, `nid`, `data_id`, `group_id`, `app_name`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `op_type`, `tenant_id`, `encrypted_data_key`) VALUES (0, 5, 'user-api', 'dev', 'highway', 'name: \"user-api\"\nhost: \"127.0.0.1\"\n# develop port\nport: 8082\ntoken_name: \"hw-token\"\ntags:\n    - srv\n    - user\njwt:\n  key: \"protocolFeeDestination\"\nuser_srv:\n  name: \"user-srv\"\n  tag: \"srv\"\nrabbitmq:\n  username: \"root\"\n  password: \"123456\"\n  host: \"127.0.0.1\"\n  port: 5672\nconsul:\n    host: \"127.0.0.1\"\n    port: 8500\njaeger:\n    host: \"127.0.0.1\"\n    port: 6831\n    name: \"highway\"\n', 'bec436e66de6beaad71351c751ea6eca', '2024-06-15 20:13:30', '2024-06-15 20:13:31', NULL, '192.168.65.1', 'I', '9cb1d5ec-d5ec-405d-b365-07e5bf6db7d7', '');
INSERT INTO `his_config_info` (`id`, `nid`, `data_id`, `group_id`, `app_name`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `op_type`, `tenant_id`, `encrypted_data_key`) VALUES (0, 6, 'user-srv', 'dev', 'highway', 'name: \"user-srv\"\nhost: \"127.0.0.1\"\ntags:\n    - srv\n    - user\nmysql:\n    host: 127.0.0.1\n    port: 13306\n    username: root\n    password: \"123456\"\n    database: \"hw_user\"\nelastic:\n    host: 127.0.0.1\n    port: 5601\nconsul:\n    host: 127.0.0.1\n    port: 8500\njaeger:\n    host: 127.0.0.1\n    port: 6831\n    name: \"highway\"\n', '733e1b882f4c8d6293743694f18c2442', '2024-06-15 20:15:23', '2024-06-15 20:15:23', NULL, '192.168.65.1', 'I', '9cb1d5ec-d5ec-405d-b365-07e5bf6db7d7', '');
INSERT INTO `his_config_info` (`id`, `nid`, `data_id`, `group_id`, `app_name`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `op_type`, `tenant_id`, `encrypted_data_key`) VALUES (0, 7, 'trade-api', 'dev', 'highway', 'name: \"trade-api\"\nhost: \"127.0.0.1\"\n# develop port\nport: 8081\ntoken_name: \"hw-token\"\ntags:\n    - api\n    - trade\njwt:\n  key: \"protocolFeeDestination\"\nportal_srv:\n  name: \"portal-srv\"\n  tag: \"srv\"\ntrade_srv:\n  name: \"trade-srv\"\n  tag: \"srv\"\nrabbitmq:\n  username: \"root\"\n  password: \"123456\"\n  host: \"127.0.0.1\"\n  port: 5672\ntxqueue:\n  # 可能queue需要使用province code来区别\n  queue: \"txHash\"\n  exchange: \"trade_contract\"\n  bindingKey: \"trade.create\"\nconsul:\n    host: \"127.0.0.1\"\n    port: 8500\njaeger:\n    host: \"127.0.0.1\"\n    port: 6831\n    name: \"highway\"\n', '150fe736a472630a21fed87433a46133', '2024-06-15 20:17:43', '2024-06-15 20:17:44', NULL, '192.168.65.1', 'I', '97ee8c1d-ca70-4469-a375-6a401bbcdc3b', '');
INSERT INTO `his_config_info` (`id`, `nid`, `data_id`, `group_id`, `app_name`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `op_type`, `tenant_id`, `encrypted_data_key`) VALUES (0, 8, 'trade-srv', 'dev', 'highway', 'name: \"trade-srv\"\nhost: \"127.0.0.1\"\ntags:\n    - srv\n    - trade\nchain:\n  deployer: \"0x28fff731ae4c00fc41d1c0bf1d33c01ccb362336\"\n  portal_prover: \"0x5daef89450ef139072d9abcbeedb1cdff227ea14\"\n  trade_prover: \"0x0834a5d5941805eeb6e210988b116f6ed60d9f61\"\n  trade_auditor: \"0x347b7b2a38a4b5e452d6292e3ce4aa5e5cd0f154\"\n  portal_manager: \"0x07daB4b879a9Acc906e3E8A98C475b753ef7ca62\"\n  trust_manager: \"0x728EFB1D438b8d1806126933d8C735649D17561c\"\n  trade_manager: \"0x01ef3002734513FD722C2eD40da50b56ff94888f\"\nmysql:\n    host: 127.0.0.1\n    port: 13306\n    username: root\n    password: \"123456\"\n    database: \"hw_trade\"\nelastic:\n    host: 127.0.0.1\n    port: 5601\nconsul:\n    host: 127.0.0.1\n    port: 8500\njaeger:\n    host: 127.0.0.1\n    port: 6831\n    name: \"highway\"\n', '6b780df9aab7b4f2a0b7fa066bb9d947', '2024-06-15 20:19:22', '2024-06-15 20:19:23', NULL, '192.168.65.1', 'I', '97ee8c1d-ca70-4469-a375-6a401bbcdc3b', '');
INSERT INTO `his_config_info` (`id`, `nid`, `data_id`, `group_id`, `app_name`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `op_type`, `tenant_id`, `encrypted_data_key`) VALUES (1, 9, 'portal-api', 'dev', 'highway', 'name: \"portal-api\"\nhost: \"127.0.0.1\"\n# develop port\nport: 8080\ntoken_name: \"hw-token\"\ntags:\n    - srv\n    - portal\njwt:\n  key: \"protocolFeeDestination\"\nportal_srv:\n  name: \"portal-srv\"\n  tag: \"srv\"\nrabbitmq:\n  username: \"root\"\n  password: \"123456\"\n  host: \"127.0.0.1\"\n  port: 5672\ntxqueue:\n  # 可能queue需要使用province code来区别\n  queue: \"txHash\"\n  exchange: \"portal_contract\"\n  bindingKey: \"portal.create\"\nconsul:\n    host: \"127.0.0.1\"\n    port: 8500\njaeger:\n    host: \"127.0.0.1\"\n    port: 6831\n    name: \"highway\"', '49cd439803fb19792b2d4627a0052156', '2024-06-15 21:26:13', '2024-06-15 21:26:13', NULL, '192.168.65.1', 'U', 'ad7c58ee-667a-4e3f-b010-6339ef14526e', '');
INSERT INTO `his_config_info` (`id`, `nid`, `data_id`, `group_id`, `app_name`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `op_type`, `tenant_id`, `encrypted_data_key`) VALUES (1, 10, 'portal-api', 'dev', 'highway', 'name: \"portal-api\"\nhost: \"127.0.0.1\"\n# develop port\nport: 8080\ntoken_name: \"hw-token\"\ntags:\n    - srv\n    - portal\njwt:\n  key: \"protocolFeeDestination\"\nportal_srv:\n  name: \"portal-srv\"\n  tag: \"srv\"\nrabbitmq:\n  username: \"root\"\n  password: \"123456\"\n  host: \"127.0.0.1\"\n  port: 5672\ntxqueue:\n  # 可能queue需要使用province code来区别\n  queue: \"txHash\"\n  exchange: \"portal_contract\"\n  bindingKey: \"portal.create\"\nconsul:\n    host: \"192.168.31.156\"\n    port: 8500\njaeger:\n    host: \"127.0.0.1\"\n    port: 6831\n    name: \"highway\"', '3354fe2568f37fdf058c4671655aa400', '2024-06-15 21:28:16', '2024-06-15 21:28:16', NULL, '192.168.65.1', 'U', 'ad7c58ee-667a-4e3f-b010-6339ef14526e', '');
INSERT INTO `his_config_info` (`id`, `nid`, `data_id`, `group_id`, `app_name`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `op_type`, `tenant_id`, `encrypted_data_key`) VALUES (6, 11, 'trade-srv', 'dev', 'highway', 'name: \"trade-srv\"\nhost: \"127.0.0.1\"\ntags:\n    - srv\n    - trade\nchain:\n  deployer: \"0x28fff731ae4c00fc41d1c0bf1d33c01ccb362336\"\n  portal_prover: \"0x5daef89450ef139072d9abcbeedb1cdff227ea14\"\n  trade_prover: \"0x0834a5d5941805eeb6e210988b116f6ed60d9f61\"\n  trade_auditor: \"0x347b7b2a38a4b5e452d6292e3ce4aa5e5cd0f154\"\n  portal_manager: \"0x07daB4b879a9Acc906e3E8A98C475b753ef7ca62\"\n  trust_manager: \"0x728EFB1D438b8d1806126933d8C735649D17561c\"\n  trade_manager: \"0x01ef3002734513FD722C2eD40da50b56ff94888f\"\nmysql:\n    host: 127.0.0.1\n    port: 13306\n    username: root\n    password: \"123456\"\n    database: \"hw_trade\"\nelastic:\n    host: 127.0.0.1\n    port: 5601\nconsul:\n    host: 127.0.0.1\n    port: 8500\njaeger:\n    host: 127.0.0.1\n    port: 6831\n    name: \"highway\"\n', '6b780df9aab7b4f2a0b7fa066bb9d947', '2024-06-15 21:58:48', '2024-06-15 21:58:48', NULL, '192.168.65.1', 'U', '97ee8c1d-ca70-4469-a375-6a401bbcdc3b', '');
INSERT INTO `his_config_info` (`id`, `nid`, `data_id`, `group_id`, `app_name`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `op_type`, `tenant_id`, `encrypted_data_key`) VALUES (5, 12, 'trade-api', 'dev', 'highway', 'name: \"trade-api\"\nhost: \"127.0.0.1\"\n# develop port\nport: 8081\ntoken_name: \"hw-token\"\ntags:\n    - api\n    - trade\njwt:\n  key: \"protocolFeeDestination\"\nportal_srv:\n  name: \"portal-srv\"\n  tag: \"srv\"\ntrade_srv:\n  name: \"trade-srv\"\n  tag: \"srv\"\nrabbitmq:\n  username: \"root\"\n  password: \"123456\"\n  host: \"127.0.0.1\"\n  port: 5672\ntxqueue:\n  # 可能queue需要使用province code来区别\n  queue: \"txHash\"\n  exchange: \"trade_contract\"\n  bindingKey: \"trade.create\"\nconsul:\n    host: \"127.0.0.1\"\n    port: 8500\njaeger:\n    host: \"127.0.0.1\"\n    port: 6831\n    name: \"highway\"\n', '150fe736a472630a21fed87433a46133', '2024-06-15 21:59:05', '2024-06-15 21:59:05', NULL, '192.168.65.1', 'U', '97ee8c1d-ca70-4469-a375-6a401bbcdc3b', '');
INSERT INTO `his_config_info` (`id`, `nid`, `data_id`, `group_id`, `app_name`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `op_type`, `tenant_id`, `encrypted_data_key`) VALUES (5, 13, 'trade-api', 'dev', 'highway', 'name: \"trade-api\"\nhost: \"0.0.0.0\"\n# develop port\nport: 8081\ntoken_name: \"hw-token\"\ntags:\n    - api\n    - trade\njwt:\n  key: \"protocolFeeDestination\"\nportal_srv:\n  name: \"portal-srv\"\n  tag: \"srv\"\ntrade_srv:\n  name: \"trade-srv\"\n  tag: \"srv\"\nrabbitmq:\n  username: \"root\"\n  password: \"123456\"\n  host: \"127.0.0.1\"\n  port: 5672\ntxqueue:\n  # 可能queue需要使用province code来区别\n  queue: \"txHash\"\n  exchange: \"trade_contract\"\n  bindingKey: \"trade.create\"\nconsul:\n    host: \"127.0.0.1\"\n    port: 8500\njaeger:\n    host: \"127.0.0.1\"\n    port: 6831\n    name: \"highway\"\n', '0c7ffe2a83bc3378602853d1ed8691be', '2024-06-15 22:00:34', '2024-06-15 22:00:34', NULL, '192.168.65.1', 'U', '97ee8c1d-ca70-4469-a375-6a401bbcdc3b', '');
INSERT INTO `his_config_info` (`id`, `nid`, `data_id`, `group_id`, `app_name`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `op_type`, `tenant_id`, `encrypted_data_key`) VALUES (6, 14, 'trade-srv', 'dev', 'highway', 'name: \"trade-srv\"\nhost: \"0.0.0.0\"\ntags:\n    - srv\n    - trade\nchain:\n  deployer: \"0x28fff731ae4c00fc41d1c0bf1d33c01ccb362336\"\n  portal_prover: \"0x5daef89450ef139072d9abcbeedb1cdff227ea14\"\n  trade_prover: \"0x0834a5d5941805eeb6e210988b116f6ed60d9f61\"\n  trade_auditor: \"0x347b7b2a38a4b5e452d6292e3ce4aa5e5cd0f154\"\n  portal_manager: \"0x07daB4b879a9Acc906e3E8A98C475b753ef7ca62\"\n  trust_manager: \"0x728EFB1D438b8d1806126933d8C735649D17561c\"\n  trade_manager: \"0x01ef3002734513FD722C2eD40da50b56ff94888f\"\nmysql:\n    host: 127.0.0.1\n    port: 13306\n    username: root\n    password: \"123456\"\n    database: \"hw_trade\"\nelastic:\n    host: 127.0.0.1\n    port: 5601\nconsul:\n    host: 127.0.0.1\n    port: 8500\njaeger:\n    host: 127.0.0.1\n    port: 6831\n    name: \"highway\"\n', '3d95d84b9d9d3dcf19361923d5946e20', '2024-06-15 22:01:14', '2024-06-15 22:01:14', NULL, '192.168.65.1', 'U', '97ee8c1d-ca70-4469-a375-6a401bbcdc3b', '');
INSERT INTO `his_config_info` (`id`, `nid`, `data_id`, `group_id`, `app_name`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `op_type`, `tenant_id`, `encrypted_data_key`) VALUES (6, 15, 'trade-srv', 'dev', 'highway', 'name: \"trade-srv\"\nhost: \"192.168.31.156\"\ntags:\n    - srv\n    - trade\nchain:\n  deployer: \"0x28fff731ae4c00fc41d1c0bf1d33c01ccb362336\"\n  portal_prover: \"0x5daef89450ef139072d9abcbeedb1cdff227ea14\"\n  trade_prover: \"0x0834a5d5941805eeb6e210988b116f6ed60d9f61\"\n  trade_auditor: \"0x347b7b2a38a4b5e452d6292e3ce4aa5e5cd0f154\"\n  portal_manager: \"0x07daB4b879a9Acc906e3E8A98C475b753ef7ca62\"\n  trust_manager: \"0x728EFB1D438b8d1806126933d8C735649D17561c\"\n  trade_manager: \"0x01ef3002734513FD722C2eD40da50b56ff94888f\"\nmysql:\n    host: 127.0.0.1\n    port: 13306\n    username: root\n    password: \"123456\"\n    database: \"hw_trade\"\nelastic:\n    host: 127.0.0.1\n    port: 5601\nconsul:\n    host: 127.0.0.1\n    port: 8500\njaeger:\n    host: 127.0.0.1\n    port: 6831\n    name: \"highway\"\n', 'd249ecf4ca5f50a61bc2b3fe131222b2', '2024-06-15 22:03:25', '2024-06-15 22:03:25', NULL, '192.168.65.1', 'U', '97ee8c1d-ca70-4469-a375-6a401bbcdc3b', '');
INSERT INTO `his_config_info` (`id`, `nid`, `data_id`, `group_id`, `app_name`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `op_type`, `tenant_id`, `encrypted_data_key`) VALUES (5, 16, 'trade-api', 'dev', 'highway', 'name: \"trade-api\"\nhost: \"192.168.31.156\"\n# develop port\nport: 8081\ntoken_name: \"hw-token\"\ntags:\n    - api\n    - trade\njwt:\n  key: \"protocolFeeDestination\"\nportal_srv:\n  name: \"portal-srv\"\n  tag: \"srv\"\ntrade_srv:\n  name: \"trade-srv\"\n  tag: \"srv\"\nrabbitmq:\n  username: \"root\"\n  password: \"123456\"\n  host: \"127.0.0.1\"\n  port: 5672\ntxqueue:\n  # 可能queue需要使用province code来区别\n  queue: \"txHash\"\n  exchange: \"trade_contract\"\n  bindingKey: \"trade.create\"\nconsul:\n    host: \"127.0.0.1\"\n    port: 8500\njaeger:\n    host: \"127.0.0.1\"\n    port: 6831\n    name: \"highway\"\n', '3d0bc8cbe02b89a4af5686e8d4fae83d', '2024-06-15 22:03:55', '2024-06-15 22:03:55', NULL, '192.168.65.1', 'U', '97ee8c1d-ca70-4469-a375-6a401bbcdc3b', '');
INSERT INTO `his_config_info` (`id`, `nid`, `data_id`, `group_id`, `app_name`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `op_type`, `tenant_id`, `encrypted_data_key`) VALUES (3, 17, 'user-api', 'dev', 'highway', 'name: \"user-api\"\nhost: \"127.0.0.1\"\n# develop port\nport: 8082\ntoken_name: \"hw-token\"\ntags:\n    - srv\n    - user\njwt:\n  key: \"protocolFeeDestination\"\nuser_srv:\n  name: \"user-srv\"\n  tag: \"srv\"\nrabbitmq:\n  username: \"root\"\n  password: \"123456\"\n  host: \"127.0.0.1\"\n  port: 5672\nconsul:\n    host: \"127.0.0.1\"\n    port: 8500\njaeger:\n    host: \"127.0.0.1\"\n    port: 6831\n    name: \"highway\"\n', 'bec436e66de6beaad71351c751ea6eca', '2024-06-15 22:10:58', '2024-06-15 22:10:58', NULL, '192.168.65.1', 'U', '9cb1d5ec-d5ec-405d-b365-07e5bf6db7d7', '');
INSERT INTO `his_config_info` (`id`, `nid`, `data_id`, `group_id`, `app_name`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `op_type`, `tenant_id`, `encrypted_data_key`) VALUES (4, 18, 'user-srv', 'dev', 'highway', 'name: \"user-srv\"\nhost: \"127.0.0.1\"\ntags:\n    - srv\n    - user\nmysql:\n    host: 127.0.0.1\n    port: 13306\n    username: root\n    password: \"123456\"\n    database: \"hw_user\"\nelastic:\n    host: 127.0.0.1\n    port: 5601\nconsul:\n    host: 127.0.0.1\n    port: 8500\njaeger:\n    host: 127.0.0.1\n    port: 6831\n    name: \"highway\"\n', '733e1b882f4c8d6293743694f18c2442', '2024-06-15 22:11:26', '2024-06-15 22:11:27', NULL, '192.168.65.1', 'U', '9cb1d5ec-d5ec-405d-b365-07e5bf6db7d7', '');
INSERT INTO `his_config_info` (`id`, `nid`, `data_id`, `group_id`, `app_name`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `op_type`, `tenant_id`, `encrypted_data_key`) VALUES (4, 19, 'user-srv', 'dev', 'highway', 'name: \"user-srv\"\nhost: \"192.168.31.156\"\ntags:\n    - srv\n    - user\nmysql:\n    host: 192.168.31.156\n    port: 13306\n    username: root\n    password: \"123456\"\n    database: \"hw_user\"\nelastic:\n    host: 192.168.31.156\n    port: 5601\nconsul:\n    host: 192.168.31.156\n    port: 8500\njaeger:\n    host: 192.168.31.156\n    port: 6831\n    name: \"highway\"\n', 'f876ff0733eb2c53f2e8430a6a4be437', '2024-06-15 22:11:34', '2024-06-15 22:11:35', NULL, '192.168.65.1', 'U', '9cb1d5ec-d5ec-405d-b365-07e5bf6db7d7', '');
INSERT INTO `his_config_info` (`id`, `nid`, `data_id`, `group_id`, `app_name`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `op_type`, `tenant_id`, `encrypted_data_key`) VALUES (1, 20, 'portal-api', 'dev', 'highway', 'name: \"portal-api\"\nhost: \"127.0.0.1\"\n# develop port\nport: 8080\ntoken_name: \"hw-token\"\ntags:\n    - srv\n    - portal\njwt:\n  key: \"protocolFeeDestination\"\nportal_srv:\n  name: \"portal-srv\"\n  tag: \"srv\"\nrabbitmq:\n  username: \"root\"\n  password: \"123456\"\n  host: \"127.0.0.1\"\n  port: 5672\ntxqueue:\n  # 可能queue需要使用province code来区别\n  queue: \"txHash\"\n  exchange: \"portal_contract\"\n  bindingKey: \"portal.create\"\nconsul:\n    host: \"127.0.0.1\"\n    port: 8500\njaeger:\n    host: \"127.0.0.1\"\n    port: 6831\n    name: \"highway\"', '49cd439803fb19792b2d4627a0052156', '2024-06-15 22:22:53', '2024-06-15 22:22:54', NULL, '192.168.65.1', 'U', 'ad7c58ee-667a-4e3f-b010-6339ef14526e', '');
INSERT INTO `his_config_info` (`id`, `nid`, `data_id`, `group_id`, `app_name`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `op_type`, `tenant_id`, `encrypted_data_key`) VALUES (2, 21, 'portal-srv', 'dev', 'highway', 'name: \"portal-srv\"\nhost: \"127.0.0.1\"\ntags:\n    - srv\n    - portal\nchain:\n  deployer: \"0x28fff731ae4c00fc41d1c0bf1d33c01ccb362336\"\n  portal_prover: \"0x5daef89450ef139072d9abcbeedb1cdff227ea14\"\n  trade_prover: \"0x0834a5d5941805eeb6e210988b116f6ed60d9f61\"\n  trade_auditor: \"0x347b7b2a38a4b5e452d6292e3ce4aa5e5cd0f154\"\n  portal_manager: \"0x07daB4b879a9Acc906e3E8A98C475b753ef7ca62\"\n  trust_manager: \"0x728EFB1D438b8d1806126933d8C735649D17561c\"\n  trade_manager: \"0x01ef3002734513FD722C2eD40da50b56ff94888f\"\nmysql:\n    host: 127.0.0.1\n    port: 13306\n    username: root\n    password: \"123456\"\n    database: \"hw_portal\"\nelastic:\n    host: 127.0.0.1\n    port: 5601\nconsul:\n    host: 127.0.0.1\n    port: 8500\njaeger:\n    host: 127.0.0.1\n    port: 6831\n    name: \"highway\"\n', 'f2eaeaed5d1afddeb3240ad978025418', '2024-06-15 22:23:17', '2024-06-15 22:23:18', NULL, '192.168.65.1', 'U', 'ad7c58ee-667a-4e3f-b010-6339ef14526e', '');
INSERT INTO `his_config_info` (`id`, `nid`, `data_id`, `group_id`, `app_name`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `op_type`, `tenant_id`, `encrypted_data_key`) VALUES (6, 22, 'trade-srv', 'dev', 'highway', 'name: \"trade-srv\"\nhost: \"192.168.31.156\"\ntags:\n    - srv\n    - trade\nchain:\n  deployer: \"0x28fff731ae4c00fc41d1c0bf1d33c01ccb362336\"\n  portal_prover: \"0x5daef89450ef139072d9abcbeedb1cdff227ea14\"\n  trade_prover: \"0x0834a5d5941805eeb6e210988b116f6ed60d9f61\"\n  trade_auditor: \"0x347b7b2a38a4b5e452d6292e3ce4aa5e5cd0f154\"\n  portal_manager: \"0x07daB4b879a9Acc906e3E8A98C475b753ef7ca62\"\n  trust_manager: \"0x728EFB1D438b8d1806126933d8C735649D17561c\"\n  trade_manager: \"0x01ef3002734513FD722C2eD40da50b56ff94888f\"\nmysql:\n    host: 192.168.31.156\n    port: 13306\n    username: root\n    password: \"123456\"\n    database: \"hw_trade\"\nelastic:\n    host: 192.168.31.156\n    port: 5601\nconsul:\n    host: 192.168.31.156\n    port: 8500\njaeger:\n    host: 192.168.31.156\n    port: 6831\n    name: \"highway\"\n', 'c69fac46ca006c31ddfa1175dd73b072', '2024-06-16 15:07:31', '2024-06-16 15:07:32', NULL, '192.168.65.1', 'U', '97ee8c1d-ca70-4469-a375-6a401bbcdc3b', '');
INSERT INTO `his_config_info` (`id`, `nid`, `data_id`, `group_id`, `app_name`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `op_type`, `tenant_id`, `encrypted_data_key`) VALUES (4, 23, 'user-srv', 'dev', 'highway', 'name: \"user-srv\"\nhost: \"192.168.31.156\"\ntags:\n    - srv\n    - user\nmysql:\n    host: 192.168.31.156\n    port: 13306\n    username: root\n    password: \"123456\"\n    database: \"hw_user\"\nelastic:\n    host: 192.168.31.156\n    port: 5601\nconsul:\n    host: 192.168.31.156\n    port: 8500\njaeger:\n    host: 192.168.31.156\n    port: 6831\n    name: \"highway\"\n', 'f876ff0733eb2c53f2e8430a6a4be437', '2024-06-16 15:07:52', '2024-06-16 15:07:52', NULL, '192.168.65.1', 'U', '9cb1d5ec-d5ec-405d-b365-07e5bf6db7d7', '');
INSERT INTO `his_config_info` (`id`, `nid`, `data_id`, `group_id`, `app_name`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `op_type`, `tenant_id`, `encrypted_data_key`) VALUES (2, 24, 'portal-srv', 'dev', 'highway', 'name: \"portal-srv\"\nhost: \"192.168.31.156\"\ntags:\n    - srv\n    - portal\nchain:\n  deployer: \"0x28fff731ae4c00fc41d1c0bf1d33c01ccb362336\"\n  portal_prover: \"0x5daef89450ef139072d9abcbeedb1cdff227ea14\"\n  trade_prover: \"0x0834a5d5941805eeb6e210988b116f6ed60d9f61\"\n  trade_auditor: \"0x347b7b2a38a4b5e452d6292e3ce4aa5e5cd0f154\"\n  portal_manager: \"0x07daB4b879a9Acc906e3E8A98C475b753ef7ca62\"\n  trust_manager: \"0x728EFB1D438b8d1806126933d8C735649D17561c\"\n  trade_manager: \"0x01ef3002734513FD722C2eD40da50b56ff94888f\"\nmysql:\n    host: 192.168.31.156\n    port: 13306\n    username: root\n    password: \"123456\"\n    database: \"hw_portal\"\nelastic:\n    host: 192.168.31.156\n    port: 5601\nconsul:\n    host: 192.168.31.156\n    port: 8500\njaeger:\n    host: 192.168.31.156\n    port: 6831\n    name: \"highway\"\n', 'efa1cf4fb6660dbdccea7aec9d381ba7', '2024-06-16 15:08:15', '2024-06-16 15:08:16', NULL, '192.168.65.1', 'U', 'ad7c58ee-667a-4e3f-b010-6339ef14526e', '');
INSERT INTO `his_config_info` (`id`, `nid`, `data_id`, `group_id`, `app_name`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `op_type`, `tenant_id`, `encrypted_data_key`) VALUES (0, 25, 'portal-rpc', 'dev', 'highway', 'name: \"portal-srv\"\nhost: \"192.168.31.156\"\n# develop port\nport: 8090\ntags:\n    - srv\n    - portal\nchain:\n  deployer: \"0x28fff731ae4c00fc41d1c0bf1d33c01ccb362336\"\n  portal_prover: \"0x5daef89450ef139072d9abcbeedb1cdff227ea14\"\n  trade_prover: \"0x0834a5d5941805eeb6e210988b116f6ed60d9f61\"\n  trade_auditor: \"0x347b7b2a38a4b5e452d6292e3ce4aa5e5cd0f154\"\n  portal_manager: \"0x07daB4b879a9Acc906e3E8A98C475b753ef7ca62\"\n  trust_manager: \"0x728EFB1D438b8d1806126933d8C735649D17561c\"\n  trade_manager: \"0x01ef3002734513FD722C2eD40da50b56ff94888f\"\nmysql:\n    host: 192.168.31.156\n    port: 13306\n    username: root\n    password: \"123456\"\n    database: \"hw_portal\"\nelastic:\n    host: 192.168.31.156\n    port: 5601\nconsul:\n    host: 192.168.31.156\n    port: 8500\njaeger:\n    host: 192.168.31.156\n    port: 6831\n    name: \"highway\"\n', 'f8f828aab702c37180cbf17c55d93c81', '2024-06-16 15:08:56', '2024-06-16 15:08:56', NULL, '192.168.65.1', 'I', 'ad7c58ee-667a-4e3f-b010-6339ef14526e', '');
INSERT INTO `his_config_info` (`id`, `nid`, `data_id`, `group_id`, `app_name`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `op_type`, `tenant_id`, `encrypted_data_key`) VALUES (2, 26, 'portal-srv', 'dev', 'highway', 'name: \"portal-srv\"\nhost: \"192.168.31.156\"\n# develop port\nport: 8090\ntags:\n    - srv\n    - portal\nchain:\n  deployer: \"0x28fff731ae4c00fc41d1c0bf1d33c01ccb362336\"\n  portal_prover: \"0x5daef89450ef139072d9abcbeedb1cdff227ea14\"\n  trade_prover: \"0x0834a5d5941805eeb6e210988b116f6ed60d9f61\"\n  trade_auditor: \"0x347b7b2a38a4b5e452d6292e3ce4aa5e5cd0f154\"\n  portal_manager: \"0x07daB4b879a9Acc906e3E8A98C475b753ef7ca62\"\n  trust_manager: \"0x728EFB1D438b8d1806126933d8C735649D17561c\"\n  trade_manager: \"0x01ef3002734513FD722C2eD40da50b56ff94888f\"\nmysql:\n    host: 192.168.31.156\n    port: 13306\n    username: root\n    password: \"123456\"\n    database: \"hw_portal\"\nelastic:\n    host: 192.168.31.156\n    port: 5601\nconsul:\n    host: 192.168.31.156\n    port: 8500\njaeger:\n    host: 192.168.31.156\n    port: 6831\n    name: \"highway\"\n', 'f8f828aab702c37180cbf17c55d93c81', '2024-06-16 15:09:01', '2024-06-16 15:09:02', NULL, '192.168.65.1', 'D', 'ad7c58ee-667a-4e3f-b010-6339ef14526e', '');
INSERT INTO `his_config_info` (`id`, `nid`, `data_id`, `group_id`, `app_name`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `op_type`, `tenant_id`, `encrypted_data_key`) VALUES (0, 27, 'user-rpc', 'dev', 'highway', 'name: \"user-srv\"\nhost: \"192.168.31.156\"\n# develop port\nport: 8092\ntags:\n    - srv\n    - user\nmysql:\n    host: 192.168.31.156\n    port: 13306\n    username: root\n    password: \"123456\"\n    database: \"hw_user\"\nelastic:\n    host: 192.168.31.156\n    port: 5601\nconsul:\n    host: 192.168.31.156\n    port: 8500\njaeger:\n    host: 192.168.31.156\n    port: 6831\n    name: \"highway\"\n', '0733ff93d696f9e8ee364266a2f72712', '2024-06-16 15:09:15', '2024-06-16 15:09:16', NULL, '192.168.65.1', 'I', '9cb1d5ec-d5ec-405d-b365-07e5bf6db7d7', '');
INSERT INTO `his_config_info` (`id`, `nid`, `data_id`, `group_id`, `app_name`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `op_type`, `tenant_id`, `encrypted_data_key`) VALUES (4, 28, 'user-srv', 'dev', 'highway', 'name: \"user-srv\"\nhost: \"192.168.31.156\"\n# develop port\nport: 8092\ntags:\n    - srv\n    - user\nmysql:\n    host: 192.168.31.156\n    port: 13306\n    username: root\n    password: \"123456\"\n    database: \"hw_user\"\nelastic:\n    host: 192.168.31.156\n    port: 5601\nconsul:\n    host: 192.168.31.156\n    port: 8500\njaeger:\n    host: 192.168.31.156\n    port: 6831\n    name: \"highway\"\n', '0733ff93d696f9e8ee364266a2f72712', '2024-06-16 15:09:19', '2024-06-16 15:09:19', NULL, '192.168.65.1', 'D', '9cb1d5ec-d5ec-405d-b365-07e5bf6db7d7', '');
INSERT INTO `his_config_info` (`id`, `nid`, `data_id`, `group_id`, `app_name`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `op_type`, `tenant_id`, `encrypted_data_key`) VALUES (0, 29, 'trade-rpc', 'dev', 'highway', 'name: \"trade-srv\"\nhost: \"192.168.31.156\"\n# develop port\nport: 8091\ntags:\n    - srv\n    - trade\nchain:\n  deployer: \"0x28fff731ae4c00fc41d1c0bf1d33c01ccb362336\"\n  portal_prover: \"0x5daef89450ef139072d9abcbeedb1cdff227ea14\"\n  trade_prover: \"0x0834a5d5941805eeb6e210988b116f6ed60d9f61\"\n  trade_auditor: \"0x347b7b2a38a4b5e452d6292e3ce4aa5e5cd0f154\"\n  portal_manager: \"0x07daB4b879a9Acc906e3E8A98C475b753ef7ca62\"\n  trust_manager: \"0x728EFB1D438b8d1806126933d8C735649D17561c\"\n  trade_manager: \"0x01ef3002734513FD722C2eD40da50b56ff94888f\"\nmysql:\n    host: 192.168.31.156\n    port: 13306\n    username: root\n    password: \"123456\"\n    database: \"hw_trade\"\nelastic:\n    host: 192.168.31.156\n    port: 5601\nconsul:\n    host: 192.168.31.156\n    port: 8500\njaeger:\n    host: 192.168.31.156\n    port: 6831\n    name: \"highway\"\n', '262449c33ec7c77a9f4649c1211158e8', '2024-06-16 15:09:38', '2024-06-16 15:09:38', NULL, '192.168.65.1', 'I', '97ee8c1d-ca70-4469-a375-6a401bbcdc3b', '');
INSERT INTO `his_config_info` (`id`, `nid`, `data_id`, `group_id`, `app_name`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `op_type`, `tenant_id`, `encrypted_data_key`) VALUES (6, 30, 'trade-srv', 'dev', 'highway', 'name: \"trade-srv\"\nhost: \"192.168.31.156\"\n# develop port\nport: 8091\ntags:\n    - srv\n    - trade\nchain:\n  deployer: \"0x28fff731ae4c00fc41d1c0bf1d33c01ccb362336\"\n  portal_prover: \"0x5daef89450ef139072d9abcbeedb1cdff227ea14\"\n  trade_prover: \"0x0834a5d5941805eeb6e210988b116f6ed60d9f61\"\n  trade_auditor: \"0x347b7b2a38a4b5e452d6292e3ce4aa5e5cd0f154\"\n  portal_manager: \"0x07daB4b879a9Acc906e3E8A98C475b753ef7ca62\"\n  trust_manager: \"0x728EFB1D438b8d1806126933d8C735649D17561c\"\n  trade_manager: \"0x01ef3002734513FD722C2eD40da50b56ff94888f\"\nmysql:\n    host: 192.168.31.156\n    port: 13306\n    username: root\n    password: \"123456\"\n    database: \"hw_trade\"\nelastic:\n    host: 192.168.31.156\n    port: 5601\nconsul:\n    host: 192.168.31.156\n    port: 8500\njaeger:\n    host: 192.168.31.156\n    port: 6831\n    name: \"highway\"\n', '262449c33ec7c77a9f4649c1211158e8', '2024-06-16 15:09:41', '2024-06-16 15:09:41', NULL, '192.168.65.1', 'D', '97ee8c1d-ca70-4469-a375-6a401bbcdc3b', '');
INSERT INTO `his_config_info` (`id`, `nid`, `data_id`, `group_id`, `app_name`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `op_type`, `tenant_id`, `encrypted_data_key`) VALUES (5, 31, 'trade-api', 'dev', 'highway', 'name: \"trade-api\"\nhost: \"192.168.31.156\"\n# develop port\nport: 8081\ntoken_name: \"hw-token\"\ntags:\n    - api\n    - trade\njwt:\n  key: \"protocolFeeDestination\"\nportal_srv:\n  name: \"portal-srv\"\n  tag: \"srv\"\ntrade_srv:\n  name: \"trade-srv\"\n  tag: \"srv\"\nrabbitmq:\n  username: \"root\"\n  password: \"123456\"\n  host: \"192.168.31.156\"\n  port: 5672\ntxqueue:\n  # 可能queue需要使用province code来区别\n  queue: \"txHash\"\n  exchange: \"trade_contract\"\n  bindingKey: \"trade.create\"\nconsul:\n    host: \"192.168.31.156\"\n    port: 8500\njaeger:\n    host: \"192.168.31.156\"\n    port: 6831\n    name: \"highway\"\n', 'b48aff270bac3b41f36e184fb92e11c2', '2024-06-16 15:13:51', '2024-06-16 15:13:52', NULL, '192.168.65.1', 'U', '97ee8c1d-ca70-4469-a375-6a401bbcdc3b', '');
INSERT INTO `his_config_info` (`id`, `nid`, `data_id`, `group_id`, `app_name`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `op_type`, `tenant_id`, `encrypted_data_key`) VALUES (3, 32, 'user-api', 'dev', 'highway', 'name: \"user-api\"\nhost: \"192.168.31.156\"\n# develop port\nport: 8082\ntoken_name: \"hw-token\"\ntags:\n    - srv\n    - user\njwt:\n  key: \"protocolFeeDestination\"\nuser_srv:\n  name: \"user-srv\"\n  tag: \"srv\"\nrabbitmq:\n  username: \"root\"\n  password: \"123456\"\n  host: \"192.168.31.156\"\n  port: 5672\nconsul:\n    host: \"192.168.31.156\"\n    port: 8500\njaeger:\n    host: \"192.168.31.156\"\n    port: 6831\n    name: \"highway\"\n', '1f5782b9680c85a43c5206a4f300ce61', '2024-06-16 15:14:25', '2024-06-16 15:14:26', NULL, '192.168.65.1', 'U', '9cb1d5ec-d5ec-405d-b365-07e5bf6db7d7', '');
INSERT INTO `his_config_info` (`id`, `nid`, `data_id`, `group_id`, `app_name`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `op_type`, `tenant_id`, `encrypted_data_key`) VALUES (1, 33, 'portal-api', 'dev', 'highway', 'name: \"portal-api\"\nhost: \"192.168.31.156\"\n# develop port\nport: 8080\ntoken_name: \"hw-token\"\ntags:\n    - srv\n    - portal\njwt:\n  key: \"protocolFeeDestination\"\nportal_srv:\n  name: \"portal-srv\"\n  tag: \"srv\"\nrabbitmq:\n  username: \"root\"\n  password: \"123456\"\n  host: \"192.168.31.156\"\n  port: 5672\ntxqueue:\n  # 可能queue需要使用province code来区别\n  queue: \"txHash\"\n  exchange: \"portal_contract\"\n  bindingKey: \"portal.create\"\nconsul:\n    host: \"192.168.31.156\"\n    port: 8500\njaeger:\n    host: \"192.168.31.156\"\n    port: 6831\n    name: \"highway\"', '1c7de8c6c585badbc3c8fdaca38129d9', '2024-06-16 15:14:55', '2024-06-16 15:14:55', NULL, '192.168.65.1', 'U', 'ad7c58ee-667a-4e3f-b010-6339ef14526e', '');
INSERT INTO `his_config_info` (`id`, `nid`, `data_id`, `group_id`, `app_name`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `op_type`, `tenant_id`, `encrypted_data_key`) VALUES (7, 34, 'portal-rpc', 'dev', 'highway', 'name: \"portal-srv\"\nhost: \"192.168.31.156\"\n# develop port\nport: 8090\ntags:\n    - srv\n    - portal\nchain:\n  deployer: \"0x28fff731ae4c00fc41d1c0bf1d33c01ccb362336\"\n  portal_prover: \"0x5daef89450ef139072d9abcbeedb1cdff227ea14\"\n  trade_prover: \"0x0834a5d5941805eeb6e210988b116f6ed60d9f61\"\n  trade_auditor: \"0x347b7b2a38a4b5e452d6292e3ce4aa5e5cd0f154\"\n  portal_manager: \"0x07daB4b879a9Acc906e3E8A98C475b753ef7ca62\"\n  trust_manager: \"0x728EFB1D438b8d1806126933d8C735649D17561c\"\n  trade_manager: \"0x01ef3002734513FD722C2eD40da50b56ff94888f\"\nmysql:\n    host: 192.168.31.156\n    port: 13306\n    username: root\n    password: \"123456\"\n    database: \"hw_portal\"\nelastic:\n    host: 192.168.31.156\n    port: 5601\nconsul:\n    host: 192.168.31.156\n    port: 8500\njaeger:\n    host: 192.168.31.156\n    port: 6831\n    name: \"highway\"\n', 'f8f828aab702c37180cbf17c55d93c81', '2024-06-16 15:15:37', '2024-06-16 15:15:38', NULL, '192.168.65.1', 'U', 'ad7c58ee-667a-4e3f-b010-6339ef14526e', '');
INSERT INTO `his_config_info` (`id`, `nid`, `data_id`, `group_id`, `app_name`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `op_type`, `tenant_id`, `encrypted_data_key`) VALUES (8, 35, 'user-rpc', 'dev', 'highway', 'name: \"user-srv\"\nhost: \"192.168.31.156\"\n# develop port\nport: 8092\ntags:\n    - srv\n    - user\nmysql:\n    host: 192.168.31.156\n    port: 13306\n    username: root\n    password: \"123456\"\n    database: \"hw_user\"\nelastic:\n    host: 192.168.31.156\n    port: 5601\nconsul:\n    host: 192.168.31.156\n    port: 8500\njaeger:\n    host: 192.168.31.156\n    port: 6831\n    name: \"highway\"\n', '0733ff93d696f9e8ee364266a2f72712', '2024-06-16 15:16:14', '2024-06-16 15:16:14', NULL, '192.168.65.1', 'U', '9cb1d5ec-d5ec-405d-b365-07e5bf6db7d7', '');
INSERT INTO `his_config_info` (`id`, `nid`, `data_id`, `group_id`, `app_name`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `op_type`, `tenant_id`, `encrypted_data_key`) VALUES (9, 36, 'trade-rpc', 'dev', 'highway', 'name: \"trade-srv\"\nhost: \"192.168.31.156\"\n# develop port\nport: 8091\ntags:\n    - srv\n    - trade\nchain:\n  deployer: \"0x28fff731ae4c00fc41d1c0bf1d33c01ccb362336\"\n  portal_prover: \"0x5daef89450ef139072d9abcbeedb1cdff227ea14\"\n  trade_prover: \"0x0834a5d5941805eeb6e210988b116f6ed60d9f61\"\n  trade_auditor: \"0x347b7b2a38a4b5e452d6292e3ce4aa5e5cd0f154\"\n  portal_manager: \"0x07daB4b879a9Acc906e3E8A98C475b753ef7ca62\"\n  trust_manager: \"0x728EFB1D438b8d1806126933d8C735649D17561c\"\n  trade_manager: \"0x01ef3002734513FD722C2eD40da50b56ff94888f\"\nmysql:\n    host: 192.168.31.156\n    port: 13306\n    username: root\n    password: \"123456\"\n    database: \"hw_trade\"\nelastic:\n    host: 192.168.31.156\n    port: 5601\nconsul:\n    host: 192.168.31.156\n    port: 8500\njaeger:\n    host: 192.168.31.156\n    port: 6831\n    name: \"highway\"\n', '262449c33ec7c77a9f4649c1211158e8', '2024-06-16 15:16:40', '2024-06-16 15:16:41', NULL, '192.168.65.1', 'U', '97ee8c1d-ca70-4469-a375-6a401bbcdc3b', '');
INSERT INTO `his_config_info` (`id`, `nid`, `data_id`, `group_id`, `app_name`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `op_type`, `tenant_id`, `encrypted_data_key`) VALUES (9, 37, 'trade-rpc', 'dev', 'highway', 'name: \"trade-srv\"\nhost: \"192.168.31.156\"\n# develop port\nport: 8091\ntags:\n    - rpc\n    - trade\nchain:\n  deployer: \"0x28fff731ae4c00fc41d1c0bf1d33c01ccb362336\"\n  portal_prover: \"0x5daef89450ef139072d9abcbeedb1cdff227ea14\"\n  trade_prover: \"0x0834a5d5941805eeb6e210988b116f6ed60d9f61\"\n  trade_auditor: \"0x347b7b2a38a4b5e452d6292e3ce4aa5e5cd0f154\"\n  portal_manager: \"0x07daB4b879a9Acc906e3E8A98C475b753ef7ca62\"\n  trust_manager: \"0x728EFB1D438b8d1806126933d8C735649D17561c\"\n  trade_manager: \"0x01ef3002734513FD722C2eD40da50b56ff94888f\"\nmysql:\n    host: 192.168.31.156\n    port: 13306\n    username: root\n    password: \"123456\"\n    database: \"hw_trade\"\nelastic:\n    host: 192.168.31.156\n    port: 5601\nconsul:\n    host: 192.168.31.156\n    port: 8500\njaeger:\n    host: 192.168.31.156\n    port: 6831\n    name: \"highway\"\n', 'bcb178733e9150e008dbe0b8a42035bf', '2024-06-16 15:25:45', '2024-06-16 15:25:46', NULL, '192.168.65.1', 'U', '97ee8c1d-ca70-4469-a375-6a401bbcdc3b', '');
INSERT INTO `his_config_info` (`id`, `nid`, `data_id`, `group_id`, `app_name`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `op_type`, `tenant_id`, `encrypted_data_key`) VALUES (8, 38, 'user-rpc', 'dev', 'highway', 'name: \"user-srv\"\nhost: \"192.168.31.156\"\n# develop port\nport: 8092\ntags:\n    - rpc\n    - user\nmysql:\n    host: 192.168.31.156\n    port: 13306\n    username: root\n    password: \"123456\"\n    database: \"hw_user\"\nelastic:\n    host: 192.168.31.156\n    port: 5601\nconsul:\n    host: 192.168.31.156\n    port: 8500\njaeger:\n    host: 192.168.31.156\n    port: 6831\n    name: \"highway\"\n', '52fc9f8023f6337bc39c4f9b2e451401', '2024-06-16 15:26:04', '2024-06-16 15:26:05', NULL, '192.168.65.1', 'U', '9cb1d5ec-d5ec-405d-b365-07e5bf6db7d7', '');
INSERT INTO `his_config_info` (`id`, `nid`, `data_id`, `group_id`, `app_name`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `op_type`, `tenant_id`, `encrypted_data_key`) VALUES (7, 39, 'portal-rpc', 'dev', 'highway', 'name: \"portal-srv\"\nhost: \"192.168.31.156\"\n# develop port\nport: 8090\ntags:\n    - rpc\n    - portal\nchain:\n  deployer: \"0x28fff731ae4c00fc41d1c0bf1d33c01ccb362336\"\n  portal_prover: \"0x5daef89450ef139072d9abcbeedb1cdff227ea14\"\n  trade_prover: \"0x0834a5d5941805eeb6e210988b116f6ed60d9f61\"\n  trade_auditor: \"0x347b7b2a38a4b5e452d6292e3ce4aa5e5cd0f154\"\n  portal_manager: \"0x07daB4b879a9Acc906e3E8A98C475b753ef7ca62\"\n  trust_manager: \"0x728EFB1D438b8d1806126933d8C735649D17561c\"\n  trade_manager: \"0x01ef3002734513FD722C2eD40da50b56ff94888f\"\nmysql:\n    host: 192.168.31.156\n    port: 13306\n    username: root\n    password: \"123456\"\n    database: \"hw_portal\"\nelastic:\n    host: 192.168.31.156\n    port: 5601\nconsul:\n    host: 192.168.31.156\n    port: 8500\njaeger:\n    host: 192.168.31.156\n    port: 6831\n    name: \"highway\"\n', 'c45789226a31469e820aee5a901eb7d5', '2024-06-16 15:26:16', '2024-06-16 15:26:16', NULL, '192.168.65.1', 'U', 'ad7c58ee-667a-4e3f-b010-6339ef14526e', '');
INSERT INTO `his_config_info` (`id`, `nid`, `data_id`, `group_id`, `app_name`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `op_type`, `tenant_id`, `encrypted_data_key`) VALUES (3, 40, 'user-api', 'dev', 'highway', 'name: \"user-api\"\nhost: \"192.168.31.156\"\n# develop port\nport: 8082\ntoken_name: \"hw-token\"\ntags:\n    - api\n    - user\njwt:\n  key: \"protocolFeeDestination\"\nuser_srv:\n  name: \"user-rpc\"\n  tag: \"rpc\"\nrabbitmq:\n  username: \"root\"\n  password: \"123456\"\n  host: \"192.168.31.156\"\n  port: 5672\nconsul:\n    host: \"192.168.31.156\"\n    port: 8500\njaeger:\n    host: \"192.168.31.156\"\n    port: 6831\n    name: \"highway\"\n', '4c02d8c0b55b5bc982c57ea0398b1338', '2024-06-16 15:33:11', '2024-06-16 15:33:12', NULL, '192.168.65.1', 'U', '9cb1d5ec-d5ec-405d-b365-07e5bf6db7d7', '');
INSERT INTO `his_config_info` (`id`, `nid`, `data_id`, `group_id`, `app_name`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `op_type`, `tenant_id`, `encrypted_data_key`) VALUES (1, 41, 'portal-api', 'dev', 'highway', 'name: \"portal-api\"\nhost: \"192.168.31.156\"\n# develop port\nport: 8080\ntoken_name: \"hw-token\"\ntags:\n    - api\n    - portal\njwt:\n  key: \"protocolFeeDestination\"\nportal_srv:\n  name: \"portal-rpc\"\n  tag: \"rpc\"\nrabbitmq:\n  username: \"root\"\n  password: \"123456\"\n  host: \"192.168.31.156\"\n  port: 5672\ntxqueue:\n  # 可能queue需要使用province code来区别\n  queue: \"txHash\"\n  exchange: \"portal_contract\"\n  bindingKey: \"portal.create\"\nconsul:\n    host: \"192.168.31.156\"\n    port: 8500\njaeger:\n    host: \"192.168.31.156\"\n    port: 6831\n    name: \"highway\"', '385961be52b7f2494336e9af5f61fbd5', '2024-06-16 15:33:31', '2024-06-16 15:33:31', NULL, '192.168.65.1', 'U', 'ad7c58ee-667a-4e3f-b010-6339ef14526e', '');
INSERT INTO `his_config_info` (`id`, `nid`, `data_id`, `group_id`, `app_name`, `content`, `md5`, `gmt_create`, `gmt_modified`, `src_user`, `src_ip`, `op_type`, `tenant_id`, `encrypted_data_key`) VALUES (5, 42, 'trade-api', 'dev', 'highway', 'name: \"trade-api\"\nhost: \"192.168.31.156\"\n# develop port\nport: 8081\ntoken_name: \"hw-token\"\ntags:\n    - api\n    - trade\njwt:\n  key: \"protocolFeeDestination\"\nportal_srv:\n  name: \"portal-rpc\"\n  tag: \"rpc\"\ntrade_srv:\n  name: \"trade-rpc\"\n  tag: \"rpc\"\nrabbitmq:\n  username: \"root\"\n  password: \"123456\"\n  host: \"192.168.31.156\"\n  port: 5672\ntxqueue:\n  # 可能queue需要使用province code来区别\n  queue: \"txHash\"\n  exchange: \"trade_contract\"\n  bindingKey: \"trade.create\"\nconsul:\n    host: \"192.168.31.156\"\n    port: 8500\njaeger:\n    host: \"192.168.31.156\"\n    port: 6831\n    name: \"highway\"\n', '9c346e7a4702e8b6b4ed23cd7679a85d', '2024-06-16 15:33:52', '2024-06-16 15:33:52', NULL, '192.168.65.1', 'U', '97ee8c1d-ca70-4469-a375-6a401bbcdc3b', '');
COMMIT;

-- ----------------------------
-- Table structure for permissions
-- ----------------------------
DROP TABLE IF EXISTS `permissions`;
CREATE TABLE `permissions` (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT 'id',
  `role` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'role',
  `resource` varchar(128) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'resource',
  `action` varchar(8) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'action',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_role_permission` (`role`,`resource`,`action`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- ----------------------------
-- Records of permissions
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for roles
-- ----------------------------
DROP TABLE IF EXISTS `roles`;
CREATE TABLE `roles` (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT 'id',
  `username` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'username',
  `role` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'role',
  PRIMARY KEY (`id`),
  UNIQUE KEY `idx_user_role` (`username`,`role`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- ----------------------------
-- Records of roles
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for tenant_capacity
-- ----------------------------
DROP TABLE IF EXISTS `tenant_capacity`;
CREATE TABLE `tenant_capacity` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT COMMENT '主键ID',
  `tenant_id` varchar(128) COLLATE utf8mb3_bin NOT NULL DEFAULT '' COMMENT 'Tenant ID',
  `quota` int unsigned NOT NULL DEFAULT '0' COMMENT '配额，0表示使用默认值',
  `usage` int unsigned NOT NULL DEFAULT '0' COMMENT '使用量',
  `max_size` int unsigned NOT NULL DEFAULT '0' COMMENT '单个配置大小上限，单位为字节，0表示使用默认值',
  `max_aggr_count` int unsigned NOT NULL DEFAULT '0' COMMENT '聚合子配置最大个数',
  `max_aggr_size` int unsigned NOT NULL DEFAULT '0' COMMENT '单个聚合数据的子配置大小上限，单位为字节，0表示使用默认值',
  `max_history_count` int unsigned NOT NULL DEFAULT '0' COMMENT '最大变更历史数量',
  `gmt_create` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `gmt_modified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '修改时间',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_tenant_id` (`tenant_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin COMMENT='租户容量信息表';

-- ----------------------------
-- Records of tenant_capacity
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for tenant_info
-- ----------------------------
DROP TABLE IF EXISTS `tenant_info`;
CREATE TABLE `tenant_info` (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT 'id',
  `kp` varchar(128) COLLATE utf8mb3_bin NOT NULL COMMENT 'kp',
  `tenant_id` varchar(128) COLLATE utf8mb3_bin DEFAULT '' COMMENT 'tenant_id',
  `tenant_name` varchar(128) COLLATE utf8mb3_bin DEFAULT '' COMMENT 'tenant_name',
  `tenant_desc` varchar(256) COLLATE utf8mb3_bin DEFAULT NULL COMMENT 'tenant_desc',
  `create_source` varchar(32) COLLATE utf8mb3_bin DEFAULT NULL COMMENT 'create_source',
  `gmt_create` bigint NOT NULL COMMENT '创建时间',
  `gmt_modified` bigint NOT NULL COMMENT '修改时间',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_tenant_info_kptenantid` (`kp`,`tenant_id`),
  KEY `idx_tenant_id` (`tenant_id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin COMMENT='tenant_info';

-- ----------------------------
-- Records of tenant_info
-- ----------------------------
BEGIN;
INSERT INTO `tenant_info` (`id`, `kp`, `tenant_id`, `tenant_name`, `tenant_desc`, `create_source`, `gmt_create`, `gmt_modified`) VALUES (1, '1', 'ad7c58ee-667a-4e3f-b010-6339ef14526e', 'portal', '高速项目', 'nacos', 1718452395868, 1718453215340);
INSERT INTO `tenant_info` (`id`, `kp`, `tenant_id`, `tenant_name`, `tenant_desc`, `create_source`, `gmt_create`, `gmt_modified`) VALUES (2, '1', '97ee8c1d-ca70-4469-a375-6a401bbcdc3b', 'trade', '高速项目', 'nacos', 1718453202271, 1718453202271);
INSERT INTO `tenant_info` (`id`, `kp`, `tenant_id`, `tenant_name`, `tenant_desc`, `create_source`, `gmt_create`, `gmt_modified`) VALUES (3, '1', '9cb1d5ec-d5ec-405d-b365-07e5bf6db7d7', 'user', '高速项目', 'nacos', 1718453245332, 1718453245332);
COMMIT;

-- ----------------------------
-- Table structure for users
-- ----------------------------
DROP TABLE IF EXISTS `users`;
CREATE TABLE `users` (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT 'id',
  `username` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'username',
  `password` varchar(500) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'password',
  `enabled` tinyint(1) NOT NULL COMMENT 'enabled',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- ----------------------------
-- Records of users
-- ----------------------------
BEGIN;
COMMIT;

SET FOREIGN_KEY_CHECKS = 1;
